package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Grade;

import java.util.List;

public interface GradeService {
    void save(Grade grade);

    void delete(Integer gradeid);

    void update(Grade grade);

    Grade findById(Integer gradeid);

    List<Grade> findAll();

    PageInfo<Grade> findAll(int page, int size);
}
